﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Adm_BUDGETList.aspx.cs" Inherits="ArtLand.OA.Project.ADM.Adm_BUDGETList" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager runat="server" AutoSizePanelID="Grid1" />
        <ext:Grid ID="Grid1" ShowBorder="false" ShowHeader="true"
            Title="年度预算管理" runat="server" DataKeyNames="ID" OnRowDataBound="Grid1_RowDataBound" EnableRowNumber="true" OnRowCommand="Grid1_RowCommand" AllowCellEditing="true" ClicksToEdit="2">
            <Toolbars>
                <ext:Toolbar ID="Toolbar1" runat="server">
                    <Items>
                        <ext:Button ID="btnNew" Text="添加预算" Icon="Add" EnablePostBack="false" runat="server">
                        </ext:Button>
                        <ext:ToolbarSeparator></ext:ToolbarSeparator>

                        <ext:Button ID="Button1" runat="server" Text="保存" Icon="TableSave" OnClick="Button1_Click"></ext:Button>
                        <%--<ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                        </ext:ToolbarSeparator>
                        <ext:TwinTriggerBox ID="ttbxMyBox2" ShowLabel="false" OnTrigger1Click="ttbxMyBox2_Trigger1Click"
                            OnTrigger2Click="ttbxMyBox2_Trigger2Click" Trigger1Icon="Clear" ShowTrigger1="False"
                            EmptyText="请输入员工编号或员工姓名" Trigger2Icon="Search" runat="server" Width="180px">
                        </ext:TwinTriggerBox>--%>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Columns>
                <ext:RenderField Width="100px" ColumnID="YERNUB" DataField="YERNUB" FieldType="String"
                    HeaderText="年份" TextAlign="Center">
                    <Editor>
                        <ext:DropDownList runat="server" ID="Drp_YERNUB"></ext:DropDownList>
                    </Editor>
                </ext:RenderField>
                <ext:RenderField Width="100px" ColumnID="BDTYPE" DataField="BDTYPE" FieldType="String"
                    HeaderText="预算类型" TextAlign="Center">
                    <Editor>
                        <ext:DropDownList runat="server" ID="Drp_BDTYPE"></ext:DropDownList>
                    </Editor>
                </ext:RenderField>
                <ext:RenderField Width="100px" ColumnID="AMOUNT" DataField="AMOUNT" FieldType="Int"
                    HeaderText="预算金额" TextAlign="Center">
                    <Editor>
                        <ext:NumberBox runat="server" ID="txt_AMOUNT"></ext:NumberBox>
                    </Editor>
                </ext:RenderField>
                <ext:BoundField DataField="ID" HeaderText="预算余额" TextAlign="Center" />
                <ext:RenderField Width="200px" ColumnID="REMARK" DataField="REMARK" FieldType="String"
                    HeaderText="备注说明">
                    <Editor>
                        <ext:TextArea runat="server" ID="txt_ReMark"></ext:TextArea>
                    </Editor>
                </ext:RenderField>
                <ext:LinkButtonField ConfirmText="您确定要删除该条记录吗？" ConfirmTarget="Top" ColumnID="ID"
                    Width="40px" CommandName="Del" Icon="Delete" TextAlign="Center" />
            </Columns>
        </ext:Grid>
    </form>
    <script src="../js/extgridbug.js"></script>
</body>
</html>
